placesview: fix open action for locations without a mount or volume
authorRazvan Chitu <razvan.ch95@gmail.com>
Tue, 12 Jul 2016 09:08:23 +0000 (12:08 +0300)
committerRazvan Chitu <razvan.ch95@gmail.com>
Tue, 12 Jul 2016 09:56:04 +0000 (12:56 +0300)
commit9747312e6c2d5b4c37a52b4270108ef652603784
tree1b12910ff2c639e6eea766839d62eb628a28563b
parentb5a2bba84071265ffd2c2327e710b8bee3318ea4
placesview: fix open action for locations without a mount or volume

In the "Other Locations" view, locations can be opened from the context menu
based on their mount or volume. However, some locations, like "Computer", do not
have either of those so they cannot be opened from the context menu. In order to
fix this, the file associated with the location can be used as well.

https://bugzilla.gnome.org/show_bug.cgi?id=768657
gtk/gtkplacesview.c